﻿<header>Select date</header>
<fieldset>
    <section>
        <div id="holiday-calendar"></div>
    </section>
    <section ng-show="!holiday.viewUser">
        <label class="label">Note</label>
        <label class="textarea">
            <textarea ng-model="holiday.submit.note" class="form-control" name="note" rows="10" cols="50" placeholder="Enter note..."></textarea>
        </label>
    </section>
</fieldset>
<footer ng-show="!holiday.viewUser">
    <div class="row-line" ng-show="holiday.submit.success || holiday.submit.hasError">
        <div class="alert alert-danger" ng-show="holiday.submit.hasError">
            <i class="fa-fw fa fa-times"></i>
            <strong>Error!</strong> {{holiday.submit.errorMessage}}
        </div>
        <div class="alert alert-success" ng-show="holiday.submit.success">
            <i class="fa-fw fa fa-check"></i>
            <strong>Success</strong> {{holiday.submit.successMessage}}
        </div>
    </div>
    <button class="btn btn-primary" type="submit" ng-disabled="holiday.onSubmitting" ng-if="!holiday.viewUser">Submit</button>
    <indicator class="fa-2x" style="color: #2C3742; float: right; margin: 13px 5px 0px 0px;" show="holiday.onSubmitting"></indicator>
</footer>
